package com.by.core.ex;

import java.util.Map;

/**
 * 后端验证异常
 */
public class ValidateException extends RuntimeException {

    Map<String, String> errorMap;

    public ValidateException(Map error) {
        super("验证异常");
        this.errorMap = error;
    }


    public Map<String, String> getErrorMap() {
        return errorMap;
    }
}
